package com.zyzd.baseokhttp.remote;

import java.io.Serializable;


/**
 * Created by 李宗源 on 2016/11/8.
 * api数据基本bean
 */

public class ApiResultBean<T> implements Serializable {

    private String msg;//状态说明
    private T data;//数据信息
    private int error_no;//状态码

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getError_no() {

        return error_no;
    }

    public void setError_no(int error_no) {
        this.error_no = error_no;
    }

    @Override
    public String toString() {
        return "ApiResultBean{" +
                "msg='" + msg + '\'' +
                ", data=" + data +
                ", error_no=" + error_no +
                '}';
    }
}
